<?php include('feed.inc.php');
	$user = $_GET['uid'];
	$albumid = $_GET['aid'];
	$thumbcall = '240c';
	$album = getPicasaAlbum($user, $albumid,$thumbcall);
?>
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>wPw Gallery</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <!--link rel="stylesheet" type="text/css" media="all" href="../position.css" />
    <link rel="stylesheet" type="text/css" media="all" href="../style.css" / -->
    <script src="gallery.js"></script>
    <script>var c=0;</script>
  </head>
  <body id="gallery">
<?php for($i=0;$i<count($album['photos']);$i++){?>
<div><img src="<?php echo $album['photos'][$i]['url'];?>" /></div>
<?php }?>
<a id="next" onclick="slide(1);">NEXT</a>
<a id="prev" onclick="slide(-1);">PREV</a>
    <script>
slide(1);
<?php if($_GET['auto']==true){?>setInterval("slide(1)", 5000);<?php }?>
    </script>
</body>
</html>
